package com.ysh.smartplatform.service;

import com.ysh.smartplatform.pojo.Role;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * 袁胜虎 on 2022/9/16 19:58
 */
public interface RoleService {

    List<Role> findAllRoles();

    List<Role> findRolesByUserId(Long uid);

    void DeleteById(Long Id);

    Role selectByName(String name);

    void insertRole(Role role);

    void updateRole(Role role);
}
